<?php use_helper('I18N', 'Date', 'JavascriptBase') ?>
<?php include_partial('bb_reserva_libro/assets') ?>
<script type="text/javascript">
  window.parent.$('#site').dialog( "option", "width", 500 );
  window.parent.$('#site').dialog( "option", "height", 280 );
  window.parent.$('#site').height( 280 );
  window.parent.$('#site').width( 470 );
  window.parent.$('#site').dialog( "option", "position", 'center' );
  $(document).ready(function(){
    setTimeOut(function(){
      window.parent.$('#site').dialog('close');
      window.parent.$('#site').remove();
    }, 1000);

  });
</script>

<div id="sf_admin_container">
  <?php include_partial('bb_reserva_libro/flashes') ?>
  <div class="alert alert-info">
    <h4>Reserva:</h4>
    <span> Persona: <?php echo $BbReservaLibro->getBbPersona(); ?></span><br>
    <span> Libro: <?php echo $BbReservaLibro->getCtLibro(); ?></span><br>
    <span> Fecha vencimiento: <?php echo $BbReservaLibro->getFechaVencimiento('d-m-Y'); ?></span><br>    
   </div>
  <a class="btn btn-success" href="#" onclick="closeModal();">cerrar</a>
</div>